package com.elder.business.domain;

import com.elder.common.annotation.Excel;
import com.elder.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 老人退住对象 retreat_records
 * 
 * @author elder
 * @date 2023-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RetreatRecords
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 老人Id */
    @Excel(name = "老人Id")
    private Long elderId;

    /** 退住时间 */
    @Excel(name = "退住时间")
    private Long retreatTime;

    /** 退住类型 */
    @Excel(name = "退住类型")
    private Long retreatType;

    /** 退住原因 */
    @Excel(name = "退住原因")
    private String retreatReason;

    /** 退住状态 0未到退住日期， 1，已退住  */
    @Excel(name = "退住状态 0未到退住日期， 1，已退住 ")
    private Integer status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private Long applyTime;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 与老人关系 */
    @Excel(name = "与老人关系")
    private String elderRelationship;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private Long auditTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditPerson;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUserId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUserId;
    private Long createTime;

    private Long updateTime;
}
